/*******************************************************************************
 * This header file contains all the classes of the exceptions.
 *
 *
 * @author LoveLonelyTime
 * @version 1.1
 * @date 2021-2021
 * @copyright GNU Public License.
 ******************************************************************************/

#ifndef EXCEPTION_H_INCLUDED
#define EXCEPTION_H_INCLUDED

#include <string>

#include "language.h"
namespace SBASIC
{
    /**
     * Exception Class.
     */
    class Exception
    {

    public:
        std::string m_indicator;
        std::string m_error;
        line_number m_line_number;
        Exception(const std::string &indicator, const std::string &error, line_number ln) : m_indicator(indicator), m_error(error), m_line_number(ln){};
    };
}

#endif // EXCEPTION_H_INCLUDED